package com.ruoyi.wechat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 设施类型管理对象 c_facility_type
 * 
 * @author ruoyi
 * @date 2024-10-12
 */
public class FacilityType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设施类型Id */
    private String ftId;

    /** 设施类型名称 */
    @Excel(name = "设施类型名称")
    private String ftName;

    /** 状态
 0 停用
 1 启用
 */
    @Excel(name = "状态 ")
    private String state;

    /**
     * 设施集合：设施类型中的所有设施
     */
    private List<Facility> facilities;

    public List<Facility> getFacilities() {
        return facilities;
    }

    public void setFacilities(List<Facility> facilities) {
        this.facilities = facilities;
    }

    public void setFtId(String ftId)
    {
        this.ftId = ftId;
    }

    public String getFtId() 
    {
        return ftId;
    }
    public void setFtName(String ftName) 
    {
        this.ftName = ftName;
    }

    public String getFtName() 
    {
        return ftName;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ftId", getFtId())
            .append("ftName", getFtName())
            .append("state", getState())
            .toString();
    }
}
